package main

import (
	"fmt"
	"regexp"
)

const text = `My email is siyue930128@gmail.com
	email is 146@qq.com
	email is 1516@163.com
`

func main() {
	re := regexp.MustCompile(`([a-zA-Z0-9]+)@([a-zA-Z0-9]+)\.([a-zA-Z0-9]+)`)
	// match := re.FindString(text)
	match := re.FindAllStringSubmatch(text, -1)
	// fmt.Println(match)
	for _, m := range match {
		fmt.Println(m)
	}

}
